home *** CD-ROM | disk | FTP | other *** search
/ Plug Into a Brand New World / Plug Into a Brand New World Version 1.3.BIN / IO-RC611 / Manual / Linux / manual.txt
Text File  |  2002-06-16  |  3KB  |  76 lines

  1. /*** Installation guide for Linux ***/
  2. This document was modified from "http://www.linux-usb.org/USB-guide/book1.html" which was written by Brad Hards.
  3.  
  4. System Requirement:
  5.  
  6. 1. kernel versions 2.2.7 and later contain the USB code.
  7.  
  8.  
  9. Install Card Reader step by step:
  10.  
  11. 1. configure USB into kernel. Use of "make menuconfig" is recommended.
  12.    Under "USB support", you need to select "Support for USB". You also need to
  13.    select either UHCI (Intel PIIX4, VIA, ...) support, UHCI Alternate Driver (JE) support
  14.    or OHCI-HCD (Compaq, iMacs, OPTi, SiS, ALi, ...) support. Which one you select is
  15.    dependent on what kind of motherboard or adapter you have.
  16.  
  17. 2. select "USB Mass Storage support"
  18.  
  19. 3. select "Preliminary USB Device Filesystem"
  20.  
  21. 4. select "SCSI support"
  22.  
  23. 5. selct "SCSI disk support"
  24.  
  25. 6. select "/proc support"
  26.  
  27. 7. Rebuild the kernel and the modules (if you configured to build as modules),
  28.    and install the new kernel and the new modules. Reboot the system.
  29.    If you are using modules, you need to load the following modules: 
  30.    a. usbcore.o 
  31.    b. usb-uhci.o, uhci.o or usb-ohci.o
  32.    c. usb-storage.o
  33.  
  34.    Inspect the kernel logs. If there isn't anything that could be USB related,
  35.    likely causes are use of the wrong driver (UHCI when you needed OHCI or 
  36.    OHCI when you needed UHCI), not physically installing the hardware,
  37.    a BIOS configuration that disables USB or stuffing up the configuration or
  38.    installation of the kernel.
  39.  
  40. 8. Use the mount command: mount -t usbdevfs none /proc/bus/usb.
  41.    Note that the 'none' keyword is arbitrary.
  42.  
  43.    If you do not want to have to mount the filesystem each time you reboot the system,
  44.    you can add the following to /etc/fstab after the /proc entry.
  45.  
  46.    none            /proc/bus/usb             usbdevfs        defaults   0   0
  47.  
  48. 9. Edit /etc/fstab
  49.    The exact syntax depends on the Card Reader. The best way is to make suitable entries
  50.    in /etc/fstab. The suitable entries for Card Reader would be:
  51.  
  52.    /dev/sda    /mnt/SMC       auto            noauto,user 0   0
  53.    /dev/sdb    /mnt/CFC       auto            noauto,user 0   0
  54.    /dev/sdc    /mnt/SDC       auto            noauto,user 0   0
  55.    /dev/sdd    /mnt/MSC       auto            noauto,user 0   0
  56.  
  57. 10. Create matching mount points in the actual filesystem:
  58.    mkdir /mnt/SMC
  59.    mkdir /mnt/CFC
  60.    mkdir /mnt/SDC
  61.    mkdir /mnt/MSC
  62.  
  63. 11. Mount Card Reader:
  64.    mount /dev/sda
  65.    mount /dev/sdb
  66.    mount /dev/sdc
  67.    mount /dev/sdd
  68.  
  69. Note:
  70.    Note that the above entries assume you have no other SCSI devices.
  71.    If you do have other devices, then the USB disk may not be /dev/sda,
  72.    but could instead be /dev/sdb, /dev/sdc or some other device. 
  73.  
  74.  
  75.  
  76.